package com.unitd.modules.configcenter.entity;

import com.unitd.comm.entity.DataEntity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @desc 应用信息管理表表对应实体对象
 * @filename Apps.java
 * @copyright www.unitd.com
 * @author Hudan
 * @version 1.0
 * @date  2018-01-30
 */
@Table(name = "apps")
public class Apps extends DataEntity {

	/** 应用标识 */
	@Column(name = "name")
	private String name;
	/** 应用名称 */
	@Column(name = "alias")
	private String alias;
	/** 通知邮箱 */
	@Column(name = "notify_emails")
	private String notifyEmails;
	/** 负责人_ID */
	@Column(name = "master_uid")
	private String masterUid;
	/** 负责人 */
	@Column(name = "master")
	private String master;
	/** 应用SCM */
	@Column(name = "scm_link")
	private String scmLink;
	@Column(name = "remarks")
	private String remarks;
	/* ************************** 与数据库字段不直接关联而是对应外键对象或数据处理的字段 ************************** */

	public Apps() {
		super();
	}

	public Apps(String id){
		super(id);
	}

	public Apps(String id, String name, String alias, String notifyEmails, String masterUid, String master, String scmLink, String remarks){
		this.id = id;
		this.name = name;
		this.alias = alias;
		this.notifyEmails = notifyEmails;
		this.masterUid = masterUid;
		this.master = master;
		this.scmLink = scmLink;
		this.remarks = remarks;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAlias() {
		return alias;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}
	public String getNotifyEmails() {
		return notifyEmails;
	}
	public void setNotifyEmails(String notifyEmails) {
		this.notifyEmails = notifyEmails;
	}
	public String getMasterUid() {
		return masterUid;
	}
	public void setMasterUid(String masterUid) {
		this.masterUid = masterUid;
	}
	public String getMaster() {
		return master;
	}
	public void setMaster(String master) {
		this.master = master;
	}
	public String getScmLink() {
		return scmLink;
	}
	public void setScmLink(String scmLink) {
		this.scmLink = scmLink;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
}